projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fc7842
)
(dired-directory-changed-p): `visited-file-modtime' now returns a
author
Luc Teirlinck
<teirllm@auburn.edu>
Wed, 14 Jul 2004 22:59:08 +0000
(22:59 +0000)
committer
Luc Teirlinck
<teirllm@auburn.edu>
Wed, 14 Jul 2004 22:59:08 +0000
(22:59 +0000)
list of two integers, instead of a cons.
lisp/dired.el
patch
|
blob
|
history
diff --git
a/lisp/dired.el
b/lisp/dired.el
index e5e23dfe2d6b479a8a9267279543ad77a462c6b9..43eec9408d4d2cb94ddfcd43a5a506ebdbbd4d92 100644
(file)
--- a/
lisp/dired.el
+++ b/
lisp/dired.el
@@
-620,8
+620,7
@@
If DIRNAME is already in a dired buffer, that buffer is used without refresh."
(modtime (visited-file-modtime)))
(or (eq modtime 0)
(not (eq (car attributes) t))
- (and (= (car (nth 5 attributes)) (car modtime))
- (= (nth 1 (nth 5 attributes)) (cdr modtime)))))))
+ (equal (nth 5 attributes) modtime)))))
(defun dired-buffer-stale-p (&optional noconfirm)
"Return non-nil if current dired buffer needs updating.